#ifndef PROJ06_PARKING_H
#define PROJ06_PARKING_H

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

typedef struct
{
    int iID;//停车位编号
    bool Parking_state;//是否被占用
} parkingSpot;

typedef struct parkingSpot
{
    parkingSpot *Parking_arr;//停车位状态
    int size;//停车位总数
} parkingLot;

parkingLot *parking_create(int size);
bool parking_occur(parkingLot *Parking_lot,int iID);
void parking_search(parkingLot *Parking_lot);
#endif //PROJ06_PARKING_H
